Volatility scalper indicator

Category: Indicators By: Nicolas Created: October 13, 2015, 5:35 PM
October 13, 2015, 5:35 PM
Indicators
7 Comments

This indicator is sensing the high volatility of market price. It reflects when the market makes big moves on the same bar. I think it can be applied to any timeframe, but i have a better feeling on applying it on higher timeframe on forex pairs. Nevertheless, it would also make the job on any market, but the treshold parameter would be adapt to point/decimal of the item you would trade.

//Parameters : 4 hours timeframe on Forex : treshold = 0.01

if(close-close[1])>0 THEN
    upsidevol = averagetruerange[1]+(averagetruerange[1]-averagetruerange[2])*0.5
    downsidevol = 0
ELSE
    upsidevol = 0
    downsidevol = averagetruerange[1]+(averagetruerange[1]-averagetruerange[2])*0.5
ENDIF

RETURN upsidevol as "up", downsidevol as "down", treshold as "treshold"

 

 

 

Download
Filename: Volatility-scalper.itf
Downloads: 191
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...